Skip to content

Conversation

@wolbernd
Copy link
Contributor

@wolbernd wolbernd commented Mar 15, 2021

Proposed changes (including videos or screenshots)

For accounts without a local password (OAUTH, SAML etc) it was not possible to delete your own account. The modal asking for the username (as confirmation) didn't return the username but the SHA256-Hash of the username.
Fixed this by comparing the hashes of the username instead of clear-text username. Also removed isPassword from modal when entering the username.

Issue(s)

Closes #19557

Steps to test or reproduce

Further comments

@gabrieleiro gabrieleiro self-assigned this Apr 14, 2021
@gabrieleiro gabrieleiro linked an issue Apr 20, 2021 that may be closed by this pull request
gabrieleiro
gabrieleiro previously approved these changes Apr 20, 2021
@sampaiodiego sampaiodiego added this to the 3.14.0 milestone Apr 21, 2021
@sampaiodiego sampaiodiego changed the title [FIX] Allow deletion of own account for passwordless accounts (e.g. OAUTH) (#19557) [FIX] Allow deletion of own account for passwordless accounts (e.g. OAUTH) Apr 21, 2021
@sampaiodiego sampaiodiego merged commit d7f586f into RocketChat:develop Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can delete google account

3 participants